package cn.bugio.task08.po;

import java.util.Date;

public class Student {
	private Integer stuno;
	private String stuname;
	private String major;
	private Integer stuage;
	private Date studate;

	public Integer getStuno() {
		return stuno;
	}

	public void setStuno(Integer stuno) {
		this.stuno = stuno;
	}

	public String getStuname() {
		return stuname;
	}

	public void setStuname(String stuname) {
		this.stuname = stuname;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public Integer getStuage() {
		return stuage;
	}

	public void setStuage(Integer stuage) {
		this.stuage = stuage;
	}

	public Date getStudate() {
		return studate;
	}

	public void setStudate(Date studate) {
		this.studate = studate;
	}

	@Override
	public String toString() {
		return "Student{" +
				"stuno=" + stuno +
				", stuname='" + stuname + '\'' +
				", major='" + major + '\'' +
				", stuage=" + stuage +
				", studate=" + studate +
				'}';
	}
}
